package com.ndp.fb.model.fbagent.result.businesses;

import com.ndp.fb.model.fbagent.result.AbstractFacebookResult;
import com.restfb.Facebook;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Created by Mikey.zhaopeng on 2014/10/25 9:25.
 * Email mikey.zhao@ndpmedia.com
 */
@Setter
@Getter
@NoArgsConstructor
public class FBMe extends AbstractFacebookResult {


    @Facebook
    private String id;
    @Facebook
    private String email;
    @Facebook("first_name")
    private String firstName;
    @Facebook
    private String gender;
    @Facebook("last_name")
    private String lastName;
    @Facebook
    private String link;
    @Facebook
    private String locale;
    @Facebook
    private String name;
    @Facebook
    private Integer timezone;
    @Facebook("updated_time")
    private String updatedTime;
    @Facebook("is_verified")
    private boolean isVerified;

    public void setVerified(boolean verified) {
        isVerified = verified;
    }
    public void setIsVerified(boolean verified) {
        isVerified = verified;
    }
}
